home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_qt.idb / usr / freeware / include / Qt / qwhatsthis.h.z / qwhatsthis.h
Encoding:
C/C++ Source or Header  |  1998-10-28  |  1.5 KB  |  51 lines

  1. /****************************************************************************
  2. ** $Id: qwhatsthis.h,v 2.5 1998/07/03 00:09:54 hanord Exp $
  3. **
  4. ** Definition of QWhatsThis class
  5. **
  6. ** Copyright (C) 1992-1998 Troll Tech AS.  All rights reserved.
  7. **
  8. ** This file is part of Qt Free Edition, version 1.40.
  9. **
  10. ** See the file LICENSE included in the distribution for the usage
  11. ** and distribution terms, or http://www.troll.no/free-license.html.
  12. **
  13. ** IMPORTANT NOTE: You may NOT copy this file or any part of it into
  14. ** your own programs or libraries.
  15. **
  16. ** Please see http://www.troll.no/pricing.html for information about 
  17. ** Qt Professional Edition, which is this same library but with a
  18. ** license which allows creation of commercial/proprietary software.
  19. **
  20. *****************************************************************************/
  21.  
  22. #ifndef QWHATSTHIS_H
  23. #define QWHATSTHIS_H
  24.  
  25. #ifndef QT_H
  26. #include "qobject.h"
  27. #endif // QT_H
  28.  
  29. class QToolButton;
  30. class QPopupMenu;
  31.  
  32. // it's a class! it's a struct! it's a namespace! IT'S WHATS THIS?!
  33. class QWhatsThis
  34. {
  35. public:
  36.     static void add( QWidget *, const char *, bool deepCopy = TRUE );
  37.     static void add( QWidget *, const QPixmap &,
  38.              const char *, const char *, bool deepCopy = TRUE );
  39.     static void remove( QWidget * );
  40.     static const char * textFor( QWidget * );
  41.  
  42.     static QToolButton * whatsThisButton( QWidget * parent );
  43.     //static void enterWhatsThisMode();
  44.  
  45.     //static void say( const char *, QWidget * near );
  46.  
  47.     //static int addMenuEntry( QPopupMenu *, QWidget *, const char * = 0 );
  48. };
  49.  
  50. #endif
  51.